﻿namespace Zhp.IService.Design.Dtos
{
    public class DesignTableDto
    {
        public string Name { get; set; }

        public string Description { get; set; }

        public List<DesignColumnDto> ColumnList { get; set; }
    }

    public class DesignColumnDto
    {
        public string ColumnName { get; set; }

        public string OldColumnName { get; set; }

        public string DataType { get; set; }

        public int? Length { get; set; }

        public int? DecimalDigits { get; set; }

        public string ColumnDescription { get; set; }

        public bool IsNullable { get; set; }

        public bool IsPrimarykey { get; set; }
    }
}
